package com.teamwings.ctrls.formCtrls;

import com.teamwings.common.aspect.annotation.FormControl;
import com.teamwings.common.exception.ResultException;
import com.teamwings.ctrls.Field;
import com.teamwings.ctrls.FormComponent;
import com.teamwings.ctrls.GenerateField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.StringUtils;

import java.util.Map;

//@FormControl(type = "text")
@EqualsAndHashCode(callSuper = true)
@Data
public class Text extends FormComponent {

    public Text() {
        this.type = "text";
        this.fieldDefaultLength = "";
        this.fieldType = "TEXT";
    }
}
